You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
655 B

version: '3.9'
services:
whatsapp_go:
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
image: jffrancob/wa-multidevice:0.0.4
command: --os=Linux --debug true
environment:
- SERVER_URL=http://${API_HOST-localhost}:${API_PORT-3000}
working_dir: /whatsapp
build:
context: .
dockerfile: ./docker/golang.Dockerfile
target: runtime
restart: 'always'
ports:
- "3000:3000"
volumes:
#- ./src:/whatsapp/
#- ./air.toml:/whatsapp/.air.toml
- ./storages:/whatsapp/storages
- ./statics:/whatsapp/statics
#- ./docs/:/docs/