Update docker-compose.yml

This commit is contained in:
Roman Kelesidis 2025-08-21 12:09:41 +03:00
commit a64c9b3328
No known key found for this signature in database
GPG key ID: D8157C4D4C4C6DB4

View file

@ -1,9 +1,11 @@
version: "3.9" version: "3.9"
services: services:
app: torrentpier-app:
build: . build:
container_name: php-app context: .
dockerfile: Dockerfile
container_name: torrentpier-app
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
@ -17,11 +19,11 @@ services:
- caddy_data:/data - caddy_data:/data
- caddy_config:/config - caddy_config:/config
depends_on: depends_on:
- db - torrentpier-db
db: torrentpier-db:
image: mariadb:10.11 image: mariadb:10.11
container_name: db container_name: torrentpier-db
restart: always restart: always
env_file: env_file:
- .env - .env