-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (43 loc) · 1.31 KB
/
docker-compose.yml
File metadata and controls
44 lines (43 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
services:
pyro-ansible:
container_name: pyro-ansible
build:
context: .
dockerfile: ./docker/Dockerfile
volumes:
- ./inventory/group_vars:/ansible/group_vars
- ./playbooks:/ansible/playbooks
- ./roles:/ansible/roles
- ./docker/Makefile:/ansible/Makefile
- ./docker/ansible.cfg:/ansible/ansible.cfg:ro
- ${VAULT_PASSWORD_FILE}:/ansible/.vault_passwrd:ro
- ${SSH_PRIVATE_KEY_FILE}:/ansible/id_rsa:ro
- ./bin/common/Makefile:/ansible/MakefileCommon
- ${REPO_PATH}/inventory/group_vars:/ansible/inventory/group_vars
- ${REPO_PATH}/host_vars:/ansible/host_vars
- ${REPO_PATH}/inventory:/ansible/inventory
stdin_open: true
tty: true
command: "sh"
semaphore:
container_name: semaphore
ports:
- "3000:3000"
image: semaphoreui/semaphore:latest
environment:
SEMAPHORE_DB_DIALECT: bolt
SEMAPHORE_ADMIN_PASSWORD: changeme
SEMAPHORE_ADMIN_NAME: admin
SEMAPHORE_ADMIN_EMAIL: admin@localhost
SEMAPHORE_ADMIN: admin
volumes:
- ./:/app
- semaphore-config:/etc/semaphore # config.json location
- semaphore-database:/var/lib/semaphore # database.boltdb location
- ~/.ssh:/root/.ssh/:ro,z
volumes:
semaphore-config:
driver: local
semaphore-database:
driver: local