Created
May 26, 2026 10:27
-
-
Save jagedn/f5757cd32fd8d07d6f4c63175b3654c0 to your computer and use it in GitHub Desktop.
docker compose para facturascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.8' | |
| services: | |
| facturascript_db: | |
| image: mysql:8.0 | |
| container_name: facturascript_db | |
| restart: always | |
| environment: | |
| MYSQL_DATABASE: facturascript | |
| MYSQL_USER: fs_user | |
| MYSQL_PASSWORD: fs_secure_password | |
| MYSQL_ROOT_PASSWORD: fs_root_password | |
| volumes: | |
| - ./fs_db_data:/var/lib/mysql | |
| networks: | |
| - fs_network | |
| facturascript_app: | |
| image: facturascripts/facturascripts:2026.2 | |
| container_name: facturascript_app | |
| restart: always | |
| ports: | |
| - "8080:80" | |
| environment: | |
| - FS_DB_TYPE=mysql | |
| - FS_DB_HOST=facturascript_db | |
| - FS_DB_PORT=3306 | |
| - FS_DB_NAME=facturascript | |
| - FS_DB_USER=fs_user | |
| - FS_DB_PASS=fs_secure_password | |
| volumes: | |
| - ./fs_app_data:/var/www/html | |
| depends_on: | |
| - facturascript_db | |
| networks: | |
| - fs_network | |
| phpmyadmin: | |
| image: phpmyadmin:latest | |
| container_name: facturascript_pma | |
| restart: always | |
| ports: | |
| - "8081:80" | |
| environment: | |
| - PMA_HOST=facturascript_db | |
| depends_on: | |
| - facturascript_db | |
| networks: | |
| - fs_network | |
| networks: | |
| fs_network: | |
| driver: bridge |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instalar
docker compose pull
docker compose up -d
Crear empresa
http://localhost:8080
Crear factura
docker compose up -d
http://localhost:8080
// emitir la factura
docker compose stop