-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·96 lines (88 loc) · 1.82 KB
/
docker-compose.yml
File metadata and controls
executable file
·96 lines (88 loc) · 1.82 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
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
90
91
92
93
94
95
96
version: "3"
services:
web:
build:
context: .
dockerfile: ./etc/nginx/nginx.Dockerfile
container_name: beautiful-web
ports:
- '4444:80'
volumes:
- ./www:/var/www
- ./certbot/www/:/var/www/certbot
- ./certbot/conf/:/etc/letsencrypt/
depends_on:
- php
networks:
- beautiful-net
- shared-network
php:
build:
context: .
dockerfile: ./etc/php/php.Dockerfile
ports:
- '9000:9000'
depends_on:
- cache
- db
volumes:
- ./www:/var/www
networks:
- beautiful-net
cache:
build:
context: .
dockerfile: ./etc/redis/redis.Dockerfile
ports:
- '6379:6379'
networks:
- beautiful-net
volumes:
- volume-cache:/data
db:
build:
context: .
dockerfile: ./etc/postgresql/postgres.Dockerfile
env_file:
- ./etc/postgresql/.env
ports:
- '5432:5432'
volumes:
- volume-db:/var/lib/postgresql/data
networks:
- beautiful-net
s3:
image: adobe/s3mock
restart: unless-stopped
environment:
- debug=true
- COM_ADOBE_TESTING_S3MOCK_STORE_INITIAL_BUCKETS=laravel
- COM_ADOBE_TESTING_S3MOCK_STORE_RETAIN_FILES_ON_EXIT=true
- COM_ADOBE_TESTING_S3MOCK_STORE_ROOT=containers3root
ports:
- '9090:9090'
volumes:
- ./locals3root:/containers3root
networks:
- beautiful-net
certbot:
image: certbot/certbot:latest
volumes:
- ./certbot/www/:/var/www/certbot/:rw
- ./certbot/conf/:/etc/letsencrypt/:rw
networks:
- beautiful-net
adminer:
image: adminer
ports:
- '8080:8080'
networks:
- beautiful-net
networks:
beautiful-net:
driver: bridge
shared-network:
external: true
volumes:
volume-db:
volume-cache: