Skip to content

Instantly share code, notes, and snippets.

View MinaroShikuchi's full-sized avatar
🌴
On vacation

Minaro MinaroShikuchi

🌴
On vacation
View GitHub Profile
version: "3.7"
services:
<poject_name>:
image: "registry.gitlab.com/<user>/<poject_name>:latest"
container_name: <poject_name>
restart: unless-stopped
@MinaroShikuchi
MinaroShikuchi / hosts
Last active December 31, 2022 21:11
Ansible playbook for automated deployment with docker compose
[environment:children]
prod
[prod]
<ip> ansible_user=<user> ansible_ssh_private_key_file=~/.ssh/id_ansible
@MinaroShikuchi
MinaroShikuchi / .gitlab-ci.yml
Last active October 12, 2021 20:19
GitLab CI Build, Release and Deploy
stages:
- build
- release
- deploy
cache:
paths:
- build
variables:
@MinaroShikuchi
MinaroShikuchi / .gitlab-ci.yml
Created October 12, 2021 17:12
GitLab CI Build and Release
stages:
- build
- release
cache:
paths:
- build
variables:
DOCKER_HOST: tcp://docker:2375
@MinaroShikuchi
MinaroShikuchi / .gitlab-ci.yml
Created October 12, 2021 17:10
GitLab CI Build
stages:
- build
cache:
paths:
- build
# TEMPLATES
.build: &build