This repository has been archived by the owner on Jun 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml.dist
89 lines (78 loc) · 2.3 KB
/
docker-compose.override.yml.dist
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: "2.2"
services:
# docker run -it --rm [-v=host] [-e=.env] chrif/cocotte install [options]
install:
extends:
service: cmd
file: docker-compose.override.yml
command: install
--digital-ocean-api-token="${DIGITAL_OCEAN_API_TOKEN}"
--traefik-ui-hostname="${TRAEFIK_UI_HOSTNAME}"
--traefik-ui-password="${TRAEFIK_UI_PASSWORD}"
--traefik-ui-username="${TRAEFIK_UI_USERNAME}"
# docker run -it --rm [-v=host] [-e=.env] chrif/cocotte uninstall [options]
uninstall:
extends:
service: cmd
file: docker-compose.override.yml
command: uninstall
--digital-ocean-api-token="${DIGITAL_OCEAN_API_TOKEN}"
--traefik-ui-hostname="${TRAEFIK_UI_HOSTNAME}"
# docker run -it --rm [-v=host] [-e=.env] chrif/cocotte static-site [options]
static-site:
extends:
service: cmd
file: docker-compose.override.yml
command: static-site
--digital-ocean-api-token="${DIGITAL_OCEAN_API_TOKEN}"
--hostname="${STATIC_SITE_HOSTNAME}"
--namespace="${STATIC_SITE_NAMESPACE}"
# docker run -it --rm chrif/cocotte wizard
wizard:
extends:
service: bare
file: docker-compose.override.yml
command: wizard
# docker run -it --rm chrif/cocotte help
help:
extends:
service: bare
file: docker-compose.override.yml
command: help
# docker run -it --rm [-v=host] [-e=.env] chrif/cocotte
cmd: # full kit
extends:
service: host
file: docker-compose.override.yml
env_file:
- .env
# docker run -it --rm [-v=host] chrif/cocotte
host:
extends:
service: bare
file: docker-compose.override.yml
volumes:
- ./host:/host
- /var/run/docker.sock:/var/run/docker.sock:ro
# docker run -it --rm [-e=.env] chrif/cocotte
env:
extends:
service: bare
file: docker-compose.override.yml
env_file:
- .env
# docker run -it --rm chrif/cocotte
bare:
image: chrif/cocotte
volumes:
- ./docs:/docs
- ./installer:/installer
- ./installer/etc/xdebug.ini:/etc/php7/conf.d/xdebug.ini:ro
- ./installer/etc/php.ini:/etc/php7/conf.d/zzz-php.ini:ro
environment:
PHP_IDE_CONFIG: "serverName=cocotte"
XDEBUG_CONFIG: "remote_host=${HOST_IP}"
doctoc:
build: docker/doctoc
volumes:
- .:/usr/src