init
This commit is contained in:
31
docker-compose.yaml
Normal file
31
docker-compose.yaml
Normal file
@ -0,0 +1,31 @@
|
||||
version: '3.9'
|
||||
|
||||
networks:
|
||||
osdict_net:
|
||||
name: osdict_net
|
||||
attachable: true
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 192.168.88.0/24
|
||||
|
||||
services:
|
||||
front:
|
||||
container_name: osdict_front
|
||||
image: registry.cn-beijing.aliyuncs.com/cypress-boat/osdict_front:latest
|
||||
restart: always
|
||||
ports:
|
||||
- "127.0.0.1:12000:80"
|
||||
networks:
|
||||
osdict_net:
|
||||
ipv4_address: 192.168.88.200
|
||||
|
||||
osdict:
|
||||
container_name: osdict_backend
|
||||
image: registry.cn-beijing.aliyuncs.com/cypress-boat/osdict:latest
|
||||
restart: always
|
||||
expose:
|
||||
- "8000"
|
||||
networks:
|
||||
osdict_net:
|
||||
ipv4_address: 192.168.88.100
|
Reference in New Issue
Block a user