-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-lampy.yml
More file actions
37 lines (37 loc) · 1.21 KB
/
Copy pathdocker-compose-lampy.yml
File metadata and controls
37 lines (37 loc) · 1.21 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
networks:
net:
driver: overlay
attachable: true
proxylampy:
external: true
serverlampy:
external: true
services:
www:
image: koromerzhin/php:8.4.13-apache-symfony
user: "${UID:-1000}:${GID:-1000}"
volumes:
- ${PWD}/apps:/var/www/:rw
- ${PWD}/conf/php.ini-development://usr/local/etc/php/conf.d/php.ini
- ${PWD}/conf/apache2/000-default.conf:/etc/apache2/sites-available/000-default.conf:ro
- ${PWD}/conf/apache2/apache2.conf:/etc/apache2/apache2.conf:ro
environment:
APP_SECRET: "CHANGEME"
MAILER_DSN: "smtp://mailtest:1025"
MESSENGER_TRANSPORT_DSN: "doctrine://default"
LOCK_DNS: semaphore
DATABASE_BDD: sylius_bdd
DATABASE_USER: sylius
DATABASE_PASSWORD: password
DATABASE_URL: "mysqli://sylius:password@mariadb:3306/sylius_bdd"
networks:
- net
- serverlampy
- proxylampy
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.sylius.rule=Host(`sylius.traefik.me`)"
- "traefik.http.routers.sylius-tls.tls.domains[0].main=sylius.traefik.me"
- "traefik.http.routers.sylius.tls=true"
- "traefik.http.services.sylius.loadbalancer.server.port=80"