mirror of
https://github.com/acepanel/templates.git
synced 2026-02-04 10:07:17 +08:00
feat: init
This commit is contained in:
16
one-api/docker-compose.yml
Normal file
16
one-api/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
one-api:
|
||||
image: justsong/one-api:v0.6.10
|
||||
restart: always
|
||||
ports:
|
||||
- ${ONE_API_PORT_HTTP}:3000
|
||||
networks:
|
||||
- acepanel-network
|
||||
volumes:
|
||||
- ./data:/data
|
||||
environment:
|
||||
- SQL_DSN=${ONE_API_DB_USER}:${ONE_API_DB_USER_PASSWORD}@tcp(${ONE_API_DB_HOST}:${ONE_API_DB_PORT})/${ONE_API_DB_NAME}
|
||||
- TZ=${ONE_API_TIME_ZONE}
|
||||
networks:
|
||||
acepanel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user