42 lines
No EOL
810 B
YAML
42 lines
No EOL
810 B
YAML
version: "3"
|
|
|
|
volumes:
|
|
node_modules:
|
|
pnpm-store:
|
|
|
|
networks:
|
|
net:
|
|
name: seedling_net
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: 10.2.1.0/24
|
|
gateway: 10.2.1.1
|
|
|
|
services:
|
|
seedling:
|
|
build:
|
|
context: .
|
|
container_name: seedling
|
|
volumes:
|
|
- ../:/home/project/seedling:delegated
|
|
- node_modules:/home/project/seedling/node_modules
|
|
- pnpm-store:/home/project/seedling/.pnpm-store
|
|
command: sleep infinity
|
|
networks:
|
|
net:
|
|
ipv4_address: 10.2.1.2
|
|
|
|
selenium:
|
|
image: seleniarm/standalone-chromium:114.0
|
|
container_name: seedling-selenium
|
|
shm_size: 2gb
|
|
environment:
|
|
- SE_VNC_NO_PASSWORD=1
|
|
ports:
|
|
- 7900:7900
|
|
- 5900:5900
|
|
- 4444:4444
|
|
networks:
|
|
net:
|
|
ipv4_address: 10.2.1.4 |