mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Update docker-compose.yml
This commit is contained in:
parent
999f0a9619
commit
a64c9b3328
1 changed files with 8 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue