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"
|
||||
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
container_name: php-app
|
||||
torrentpier-app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: torrentpier-app
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
|
@ -17,11 +19,11 @@ services:
|
|||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
depends_on:
|
||||
- db
|
||||
- torrentpier-db
|
||||
|
||||
db:
|
||||
torrentpier-db:
|
||||
image: mariadb:10.11
|
||||
container_name: db
|
||||
container_name: torrentpier-db
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue