-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
69 lines (65 loc) · 2.64 KB
/
docker-compose.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: "3"
services:
db:
# There appears to be an issue with this docker image and the latest version will not start
# image: docker.packages.octopushq.com/octopusdeploy/mssql-server-windows-express:${MSSQL_SERVER_VERSION}
image: octopusdeploy/mssql-server-windows-express:latest
environment:
sa_password: "${SA_PASSWORD}"
ACCEPT_EULA: "Y"
healthcheck:
test: [ "CMD", "sqlcmd", "-U", "sa", "-P", "${SA_PASSWORD}", "-Q", "select 1" ]
interval: 10s
retries: 10
restart: always
octopus-server:
image: docker.packages.octopushq.com/octopusdeploy/octopusdeploy:${OCTOPUS_VERSION}
environment:
ADMIN_USERNAME: "${OCTOPUS_ADMIN_USERNAME}"
ADMIN_PASSWORD: "${OCTOPUS_ADMIN_PASSWORD}"
DB_CONNECTION_STRING: "Server=db,1433;Initial Catalog=Octopus;Persist Security Info=False;User ID=sa;Password=${SA_PASSWORD};MultipleActiveResultSets=False;Connection Timeout=30;"
SKIP_IMPORT_VERSION_CHECK: "${OCTOPUS_SKIP_IMPORT_VERSION_CHECK}"
IMPORT_PASSWORD: "${OCTOPUS_IMPORT_PASSWORD}"
ACCEPT_EULA: "Y"
ports:
- "8080"
- "10943"
depends_on:
- db
stdin_open: true #Process sits and waits for ReadLine
volumes:
- "./docker/Volumes/octopus-server/Import:C:/Import"
- "./docker/Volumes/octopus-server/Repository:C:/Repository"
- "./docker/Volumes/octopus-server/MasterKey:C:/MasterKey"
restart: always
listening-tentacle:
image: docker.packages.octopushq.com/octopusdeploy/tentacle:${TENTACLE_VERSION}
depends_on:
- octopus-server
environment:
ServerUsername: "${OCTOPUS_ADMIN_USERNAME}"
ServerPassword: "${OCTOPUS_ADMIN_PASSWORD}"
TargetEnvironment: "Development"
TargetRole: "app-server"
ServerUrl: "http://octopus-server:8080"
stdin_open: true #Process sits and waits for ReadLine
volumes:
- "./docker/Volumes/listening-tentacle/Applications:C:/Applications"
- "./docker/Volumes/listening-tentacle/TentacleHome:C:/TentacleHome"
restart: always
polling-tentacle:
image: docker.packages.octopushq.com/octopusdeploy/tentacle:${TENTACLE_VERSION}
depends_on:
- octopus-server
environment:
ServerUsername: "${OCTOPUS_ADMIN_USERNAME}"
ServerPassword: "${OCTOPUS_ADMIN_PASSWORD}"
TargetEnvironment: "Development"
TargetRole: "web-server"
ServerUrl: "http://octopus-server:8080"
ServerPort: "10943"
stdin_open: true #Process sits and waits for ReadLine
volumes:
- "./docker/Volumes/polling-tentacle/Applications:C:/Applications"
- "./docker/Volumes/polling-tentacle/TentacleHome:C:/TentacleHome"
restart: always