-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompose.yaml
More file actions
37 lines (34 loc) · 996 Bytes
/
compose.yaml
File metadata and controls
37 lines (34 loc) · 996 Bytes
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
services:
frontend:
build: ./docker/node
restart: on-failure
depends_on:
- phpnginx
working_dir: /src
volumes:
- .:/src:cached
entrypoint: /bin/sh
tty: true
phpnginx:
build: ./docker/php
restart: on-failure
depends_on:
- postgres
working_dir: /src
env_file: .env
volumes:
- .:/src:cached
- ./deploy/php.ini:/usr/local/etc/php/php.ini:delegated,ro
postgres:
image: postgres:16-alpine
restart: on-failure
environment:
POSTGRES_DB: symfony
POSTGRES_USER: symfony
POSTGRES_PASSWORD: symfony
command: postgres -c fsync=off -c full_page_writes=off -c synchronous_commit=off -c max_locks_per_transaction=256 -c max_connections=200
volumes:
- pgsql-data:/var/lib/postgresql/data:delegated
volumes:
pgsql-data: ~
rabbitmq-data: ~