mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update docker-compose.yml
This commit is contained in:
parent
1a0213817e
commit
2f5d0e0820
1 changed files with 4 additions and 2 deletions
|
@ -5,8 +5,8 @@ services:
|
|||
dockerfile: Dockerfile
|
||||
container_name: torrentpier-app
|
||||
ports:
|
||||
- "80:80"
|
||||
# - "443:443"
|
||||
- "${TP_PORT}:80"
|
||||
- "${SSL_PORT:-443}:443"
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
|
@ -29,6 +29,8 @@ services:
|
|||
MYSQL_DATABASE: ${DB_DATABASE}
|
||||
MYSQL_USER: ${DB_USERNAME}
|
||||
MYSQL_PASSWORD: ${DB_PASSWORD}
|
||||
ports:
|
||||
- "${DB_PORT}:3306"
|
||||
volumes:
|
||||
- db_data:/var/lib/mysql
|
||||
- ./install/mysql.sql:/docker-entrypoint-initdb.d/mysql.sql:ro
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue